package com.zp.demo.repush.service;

import com.zp.demo.repush.enums.RePushServiceBeanEnum;
import com.zp.demo.repush.exception.RePushException;
import lombok.Data;

/**
 * 推送策略接口定义
 */
public interface PushStrategyInter {
    /**
     * 执行 推送调用
     * @return
     */
     boolean excute(RePushServiceBeanEnum beanEnum,Object params);
    /**
     * 异常类型
     */
    RePushException exceptionType();
}
